package org.credo.emayMMS;

import java.text.SimpleDateFormat;
import java.util.Date;
import java.util.UUID;

public class Pojo {
	private String phoneNumber;
	private String message;
	public String getPhoneNumber() {
		return phoneNumber;
	}
	public void setPhoneNumber(String phoneNumber) {
		this.phoneNumber = phoneNumber;
	}
	public String getMessage() {
		return message;
	}
	public void setMessage(String message) {
		this.message = message;
	}
	
	public static void main(String[] args) {
//		String result="SUCCESSINFO";
//		if (!(result.equalsIgnoreCase("SUCCESS")
//				|| result.equalsIgnoreCase("SUCCESSINFO"))) {
//			System.out.println("false");
//			return;
//		}
//		System.out.println("true");
		String str=System.getProperty("user.home");
		System.out.println(str);
		String temp=System.getProperty("java.io.tmpdir");
		System.out.println(temp);
		String temp2="D:\\restxml";
		System.out.println(temp2);
		SimpleDateFormat df = new SimpleDateFormat("yyyy-MM-dd-HH:mm:ss");//设置日期格式
		System.out.println(df.format(new Date()));// new Date()为获取当前系统时间
		String fileName=df.format(new Date());
		
		String time=String.valueOf(System.currentTimeMillis());
		System.out.println("time:"+time);
		String time1=String.valueOf(System.currentTimeMillis());
		System.out.println("time:"+time1);
		
		System.out.println(df.format(new Date()));// new Date()为获取当前系统时间
		
		String time2=String.valueOf(System.currentTimeMillis());
		System.out.println("time:"+time2);
		
		//UUID uuid=UUID.randomUUID();
		String uuid=UUID.randomUUID().toString();
		System.out.println("uuid:"+uuid);
		
		String uuid2=UUID.randomUUID().toString();
		System.out.println("uuid:"+uuid2);
		
		String SMIL_MSG = "<smil xmlns=\"http://www.w3.org/2000/SMIL20/CR/Language\"><head><layout><root-layout width=\"208\" height=\"176\" /><region id=\"Image\" left=\"0\" top=\"0\" width=\"128\" height=\"128\" fit=\"hidden\" /><region id=\"Text\" left=\"0\" top=\"50\" width=\"128\" height=\"128\" fit=\"hidden\" /></layout></head><body><par dur=\"25000ms\"><text src=\""+uuid2+".txt\" region=\"Text\" /></par></body></smil>";
		System.out.println(SMIL_MSG);
		
	}
}
